<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt</Name>
        <Homepage>http://qt.nokia.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>GPLv3</License>
        <IsA>library</IsA>
        <Summary>Qt toolkit version 4</Summary>
        <Description>Qt is a cross platform GUI toolkit.</Description>
        <Archive sha1sum="ddf9c20ca8309a116e0466c42984238009525da6" type="targz">http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libmng-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
	    <Dependency>libXtst-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <!--Dependency>gstreamer-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency-->
            <!--Dependency>firebird-devel</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>postgresql-server</Dependency>
            <Dependency>firebird-superserver</Dependency-->
        </BuildDependencies>
        <Patches>
            <!-- Fedora Patches -->
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-uic_multilib.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch</Patch>
            <Patch level="1">fedora/qt-cupsEnumDests.patch</Patch>
            <Patch level="1">fedora/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch</Patch>
            <Patch level="1">fedora/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-mysql_config.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.6.2-cups.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.3-no_Werror.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch</Patch>
            <!--For LibreOffice -->
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch</Patch>
            <Patch level="1">fedora/qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch</Patch>
            <!-- OpenSuse Patches -->
            <Patch level="0">opensuse/qt-never-strip.diff</Patch>
            <Patch level="0">opensuse/use-freetype-default.diff</Patch>
            <Patch level="0">opensuse/0191-listview-alternate-row-colors.diff</Patch>
            <Patch level="0">opensuse/0188-fix-moc-parser-same-name-header.diff</Patch>
            <Patch level="0">opensuse/0195-compositing-properties.diff</Patch>
            <Patch level="0">opensuse/0180-window-role.diff</Patch>
            <Patch level="0">opensuse/0225-invalidate-tabbar-geometry-on-refresh.patch</Patch>
            <Patch level="0">opensuse/qt-debug-timer.diff</Patch>
            <Patch level="0">opensuse/qfatal-noreturn.diff</Patch>
            <Patch level="0">opensuse/no-moc-date.diff</Patch>
            <Patch level="0">opensuse/libqt4-libtool-nodate.diff</Patch>
            <Patch level="0">opensuse/build-qvfb-tool.diff</Patch>
            <Patch level="0">opensuse/handle-tga-files-properly.diff</Patch>
            <Patch level="0">opensuse/qdbusconnection-no-warning-output.patch</Patch>
            <Patch level="1">opensuse/fix_assistant_segfault_QTBUG-25324.patch</Patch>
            <Patch level="1">opensuse/qatomic-generic.patch</Patch>
            <Patch level="1">opensuse/QSystemTrayicon.diff</Patch>
            <Patch level="1">opensuse/fix-moc-from-choking-on-boost-headers.patch</Patch>
            <Patch level="1">opensuse/qlocale_icu-no-warning-output.patch</Patch>
            <Patch level="1">opensuse/0001-Don-t-crash-on-broken-GIF-images.patch</Patch>
            <!-- CVE Patches -->
            <Patch level="1">CVE-2014-0190.patch</Patch>
            <!-- Turkish Translations -->
            <Patch compressionType="bz2">turkish.patch.bz2</Patch>
            <!-- Pisilinux Patches -->
            <Patch level="0">mkspecs.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>qt</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libmng</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <!--Dependency>qtchooser</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/lib/qt4/bin</Path>
            <Path fileType="executable">/usr/bin/qdbus*</Path>
            <Path fileType="executable">/usr/bin/qtconfig</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/lib/qt4/imports</Path>
            <Path fileType="data">/usr/lib/qt4/templates</Path>
	    <Path fileType="data">/usr/share/doc/qt</Path>
            <Path fileType="localedata">/usr/share/qt4/translations/*_tr.*</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/qdbusviewer4.desktop">data/qdbusviewer.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/qtconfig4.desktop">data/qtconfig.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>qt-devel</Name>
        <Summary>Development files for Qt</Summary>
        <RuntimeDependencies>
            <Dependency release="current">qt</Dependency>
            <!-- qgl.h requires gl.h from mesa -->
            <Dependency>mesa-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <!-- binaries are for development -->
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/qt4/mkspecs</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/qt4/q3porting.xml</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt-l10n</Name>
        <IsA>locale</IsA>
        <Summary>Translation files for Qt library and tools. Supported languages are: da, de, fr, ja, pl, ru, zh_CN, zh_TW</Summary>
        <Files>
            <Path fileType="localedata">/usr/share/qt4/translations</Path>
        </Files>
    </Package>

    <!--Package>
        <Name>qt-designer</Name>
        <Icon>designer</Icon>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency version="current">qt-webkit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/designer</Path>
            <Path fileType="library">/usr/lib/qt4/plugins/designer</Path>
            <Path fileType="data">/usr/share/applications/designer.desktop</Path>
            <Path fileType="data">/usr/share/pixmaps/designer.png</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/designer4.desktop">data/designer.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/designer.png">data/designer.png</AdditionalFile>
        </AdditionalFiles>
    </Package-->

    <!--Package>
        <Name>qt-linguist</Name>
        <Icon>linguist</Icon>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/linguist</Path>
            <Path fileType="data">/usr/share/qt4/phrasebooks</Path>
            <Path fileType="data">/usr/share/applications/linguist.desktop</Path>
            <Path fileType="data">/usr/share/pixmaps/linguist.png</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/linguist4.desktop">data/linguist.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/linguist.png">data/linguist.png</AdditionalFile>
        </AdditionalFiles>
    </Package-->

    <!--Package>
        <Name>qt-docs</Name>
        <Icon>assistant</Icon>
        <Summary>Development documents of Qt and Qt Assistant tool</Summary>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency version="current">qt-webkit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/assistant</Path>
            <Path fileType="data">/usr/share/applications/assistant.desktop</Path>
            <Path fileType="data">/usr/share/pixmaps/assistant.png</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/doc/qt4/qch</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/assistant4.desktop">data/assistant.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/assistant.png">data/assistant.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/128x128/apps/qt4-logo.png">data/hi128-app-qt4-logo.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/48x48/apps/qt4-logo.png">data/hi48-app-qt4-logo.png</AdditionalFile>
        </AdditionalFiles>
    </Package-->

    <!--Package>
        <Name>qt-docs-html</Name>
        <Summary>Development documents of Qt in HTML format</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc/qt4/html</Path>
        </Files>
    </Package-->

    <!--Package>
        <Name>qt-demos</Name>
        <Icon>qt4-logo</Icon>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency version="current">qt-webkit</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>phonon</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/qtdemo</Path>
            <Path fileType="library">/usr/lib/qt4/demos</Path>
            <Path fileType="library">/usr/lib/qt4/examples</Path>
            <Path fileType="library">/usr/lib/qt4/plugins/designer/libarthurplugin.so</Path>
            <Path fileType="data">/usr/share/applications/qtdemo.desktop</Path>
            <Path fileType="data">/usr/tests/qt4</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/qtdemo4.desktop">data/qtdemo.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package-->

    <!--Package>
        <Name>qt-sql-mysql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency>mariadb-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt-sql-postgresql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency>postgresql-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt4/plugins/sqldrivers/libqsqlpsql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt-sql-sqlite</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency>sqlite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt4/plugins/sqldrivers/libqsqlite.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt-sql-odbc</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency>unixODBC</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt4/plugins/sqldrivers/libqsqlodbc.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt-sql-ibase</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt</Dependency>
            <Dependency>firebird-client</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt4/plugins/sqldrivers/libqsqlibase.so</Path>
        </Files>
    </Package-->

    <History>
        <Update release="13">
            <Date>2015-08-04</Date>
            <Version>4.8.6</Version>
            <Comment>Rebuild minimal for Yali.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2015-04-09</Date>
            <Version>4.8.6</Version>
            <Comment>Rebuild for qt5</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2014-05-20</Date>
            <Version>4.8.6</Version>
            <Comment>Version bump, fix CVE.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2014-04-10</Date>
            <Version>4.8.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2014-02-21</Date>
            <Version>4.8.5</Version>
            <Comment>Rebuild for Mariadb.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2014-02-01</Date>
            <Version>4.8.5</Version>
            <Comment>Rebuild for new libmng.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2013-12-14</Date>
            <Version>4.8.5</Version>
            <Comment>Re-cleanup qt, fix systemtray issues.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2013-12-11</Date>
            <Version>4.8.5</Version>
            <Comment>Cleanup some patches, rebuild.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-08-05</Date>
            <Version>4.8.5</Version>
            <Comment>Patched.</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-07-03</Date>
            <Version>4.8.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-03-11</Date>
            <Version>4.8.4</Version>
            <Comment>Patch cleanup, add some enhancements.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-02-15</Date>
            <Version>4.8.4</Version>
            <Comment>Add emul32</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-12-08</Date>
            <Version>4.8.4</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
